package com.niit.project.dao;

import com.niit.project.entity.Goods;
import com.niit.project.entity.Page;

import java.util.List;

public interface GoodsDao {
    public List<Goods> selectAll(Page page);
    public long selectCount();
    public int delete(String goodname);
    public int insert(Goods goods);
    public Goods select(int id);
    public int update(Goods goods);

    public List<Goods> searchSelect(String option);
}
